import Vue from 'vue';
import axios from 'axios';

import App from './App';
import router from './router';
import store from './store';



if (!process.env.IS_WEB) Vue.use(require('vue-electron'));
Vue.http = Vue.prototype.$http = axios;
Vue.config.productionTip = false;

// 全局使用控件
// import videoPlayer from 'vue-video-player'
// import 'video.js/dist/video-js.css'
// import 'vue-video-player/src/custom-theme.css'
// import 'videojs-contrib-hls.js/src/videojs.hlsjs'
// Vue.use(videoPlayer);

new Vue({
  components: { App },
  router,
  store,
  template: '<App/>'
}).$mount('#app');
